Fix infloop of -nw session at exit on MS-Windows under a debugger.
authorEli Zaretskii <eliz@gnu.org>
Wed, 4 Jun 2014 10:54:58 +0000 (13:54 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 4 Jun 2014 10:54:58 +0000 (13:54 +0300)
commitd109b3f72f8335fe1d72936905ba4236db9cd71f
treec6c291179ee0efcccce9b673ab3c05d7589c0791
parentcbbe28f663b430af9bf8f20f43f2a27639accfe9
Fix infloop of -nw session at exit on MS-Windows under a debugger.

 src/sysdep.c (reset_sys_modes): Use cursorX, not curX, as the latter
 contains garbage on WINDOWSNT (which could potentially infloop at
 exit).
src/ChangeLog
src/sysdep.c